package com.wealth.lottery.enums;
/**
 * 活动状态枚举
 * @author lihang 2016-06-27
 */
public enum LotteryActivityPrizeEnums {
 BILL(1,"话费"), SCORE(2,"实物");
	
	private int value;
	private String comment;
	private LotteryActivityPrizeEnums(int value,String comment){
		this.value = value;
		this.comment =comment;
	}
	
	public int getValue(){
		return value;
		
	}
	public String getComment(){
		return comment;
	}
	public static LotteryActivityPrizeEnums get(int value){
		for (LotteryActivityPrizeEnums o:LotteryActivityPrizeEnums.values()) {
			if(o.value ==value){
				return o;
			}
		}
		return null;
	}

}
